<template>
  <ul>
    <li>消息编号:{{$route.params.id}}</li>
    <li>消息内容:{{$route.params.title}}</li>
    <li>消息编号props:{{id}}</li>
    <li>消息内容props:{{title}}</li>

  </ul>
</template>

<script>
export default {
    mounted(){
        console.log(this)
    },
    props:['id','title']
}
</script>

<style>

</style>